package com.angel.architecture.services.impl;

import java.util.Collection;

import com.angel.architecture.daos.ConfigurationParameterDAO;
import com.angel.architecture.persistence.beans.ConfigurationParameter;
import com.angel.architecture.services.ConfigurationParameterService;

/**
 *
 * @author William
 */
public class ConfigurationParameterServiceImpl extends GenericServiceImpl implements ConfigurationParameterService {


    public Collection<ConfigurationParameter> findAllByDescription(String description) {
        return this.getConfigurationParameterDAO().findAllByDescription(description);
    }

    public ConfigurationParameter findUniqueByName(String name) {
        return this.getConfigurationParameterDAO().findUniqueByName(name);
    }

    public ConfigurationParameterDAO getConfigurationParameterDAO() {
        return (ConfigurationParameterDAO) super.getGenericDAO();
    }
}